﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class CdrPathOrderIpOrderitem
    {
        public string Id { get; set; } = null!;
        public string Hospitalcode { get; set; } = null!;
        public string Visitnumber { get; set; } = null!;
        public string Patientid { get; set; } = null!;
        public string Patientname { get; set; } = null!;
        public string Patientsexcode { get; set; } = null!;
        public string Patientsexname { get; set; } = null!;
        public decimal? Patientage { get; set; }
        public string Deptcode { get; set; } = null!;
        public string Deptname { get; set; } = null!;
        public string Wardcode { get; set; } = null!;
        public string Wardname { get; set; } = null!;
        public string Bedno { get; set; } = null!;
        public string Orderno { get; set; } = null!;
        public string Ordergroupno { get; set; } = null!;
        public string Drugpurposecode { get; set; } = null!;
        public string Drugpurposename { get; set; } = null!;
        public string Ordercategorycode { get; set; } = null!;
        public string Ordercategoryname { get; set; } = null!;
        public string Orderitemcategorycode { get; set; } = null!;
        public string Orderitemcategoryname { get; set; } = null!;
        public string Ordertypecode { get; set; } = null!;
        public string Ordertypename { get; set; } = null!;
        public string Doctorcode { get; set; } = null!;
        public string Doctorname { get; set; } = null!;
        public DateTime Orderdatetime { get; set; }
        public DateTime Startdatetime { get; set; }
        public DateTime Enddatetime { get; set; }
        public DateTime Stopdatetime { get; set; }
        public string Stopdoctorcode { get; set; } = null!;
        public string Stopdoctorname { get; set; } = null!;
        public string Auditpharmacistcode { get; set; } = null!;
        public string Auditpharmacistname { get; set; } = null!;
        public string Rejectreason { get; set; } = null!;
        public DateTime Pharmacistauditdatetime { get; set; }
        public string Auditnursecode { get; set; } = null!;
        public string Auditnursename { get; set; } = null!;
        public DateTime Nurseauditdatetime { get; set; }
        public string Dataentercode { get; set; } = null!;
        public string Dataentername { get; set; } = null!;
        public DateTime Dataenterdatetime { get; set; }
        public string Statuscode { get; set; } = null!;
        public string Statusname { get; set; } = null!;
        public string Orderitemcode { get; set; } = null!;
        public string Orderitemname { get; set; } = null!;
        public string Orderitemspecification { get; set; } = null!;
        public string Dosageformcode { get; set; } = null!;
        public string Dosageformname { get; set; } = null!;
        public string Dosage { get; set; } = null!;
        public string Dosageunit { get; set; } = null!;
        public string Perquantity { get; set; } = null!;
        public string Perquantityunit { get; set; } = null!;
        public string Routecode { get; set; } = null!;
        public string Routename { get; set; } = null!;
        public string Frequencycode { get; set; } = null!;
        public string Frequencyname { get; set; } = null!;
        public decimal Price { get; set; }
        public string Quantity { get; set; } = null!;
        public string Unit { get; set; } = null!;
        public decimal Amount { get; set; }
        public short Isskintest { get; set; }
        public DateTime Firstinsertdatetime { get; set; }
        public DateTime Lastupdatedatetime { get; set; }
        public string Execdeptcode { get; set; } = null!;
        public string Execdeptname { get; set; } = null!;
        public string Partname { get; set; } = null!;
        public string Notes { get; set; } = null!;
    }
}
